package com.qfmy.mystation.ui.fragment;

import android.os.Bundle;

import androidx.preference.PreferenceFragmentCompat;

import com.qfmy.mystation.R;
import com.qfmy.mystation.api.APIService;

public class SettingsFragment extends PreferenceFragmentCompat {

    @Override
    public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
        setPreferencesFromResource(R.xml.root_preferences, rootKey);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        APIService.setHost(getContext());
    }
}